package com.fowo.api.sys.model;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * 当前用户修改密码
 */
@Data
public class ChangePassword {

    @NotEmpty
    private String password;

    @NotEmpty
    @Size(min = 6)
    private String newPassword;

    @NotEmpty
    private String confirmPassword;
}
